package net.http;

import org.apache.commons.httpclient.HttpMethod;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;

public class HttpClientThread extends Thread {
	static final Logger logger = LogManager.getLogger(HttpClientThread.class.getName());
	private final HttpMethod method;
	private final HttpClientHelper client;

	public HttpClientThread(HttpClientHelper client, HttpMethod method) {
		this.client = client;
		this.method = method;
	}

	@Override
	public void run() {
		client.queryHttpServer(method);
	}
}
